home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / os2 / octa209s.zip / octave-2.09 / src / pt-fvc-base.h < prev    next >
C/C++ Source or Header  |  1996-10-30  |  2KB  |  80 lines

  1. /*
  2.  
  3. Copyright (C) 1996 John W. Eaton
  4.  
  5. This file is part of Octave.
  6.  
  7. Octave is free software; you can redistribute it and/or modify it
  8. under the terms of the GNU General Public License as published by the
  9. Free Software Foundation; either version 2, or (at your option) any
  10. later version.
  11.  
  12. Octave is distributed in the hope that it will be useful, but WITHOUT
  13. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  14. FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  15. for more details.
  16.  
  17. You should have received a copy of the GNU General Public License
  18. along with Octave; see the file COPYING.  If not, write to the Free
  19. Software Foundation, 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  20.  
  21. */
  22.  
  23. #if !defined (octave_tree_fvc_h)
  24. #define octave_tree_fvc_h 1
  25.  
  26. #if defined (__GNUG__)
  27. #pragma interface
  28. #endif
  29.  
  30. #include <ctime>
  31.  
  32. class ostream;
  33.  
  34. #include <string>
  35.  
  36. #include <SLList.h>
  37.  
  38. class octave_value;
  39. class octave_value_list;
  40.  
  41. #include "pt-mvr-base.h"
  42.  
  43. // A base class for objects that can be evaluated with argument lists.
  44.  
  45. class
  46. tree_fvc : public tree_multi_val_ret
  47. {
  48. public:
  49.  
  50.   tree_fvc (int l = -1, int c = -1)
  51.     : tree_multi_val_ret (l, c) { }
  52.  
  53.   ~tree_fvc (void) { }
  54.  
  55.   virtual string name (void) const;
  56.  
  57.   virtual void increment (void);
  58.  
  59.   virtual void decrement (void);
  60.  
  61.   virtual string fcn_file_name (void)
  62.     { return string (); }
  63.  
  64.   virtual time_t time_parsed (void);
  65.  
  66.   virtual bool is_system_fcn_file (void) const
  67.     { return false; }
  68.  
  69.   virtual int save (ostream& /* os */, bool /* mark_as_global */ = false,
  70.             int /* precision */ = 17);
  71. };
  72.  
  73. #endif
  74.  
  75. /*
  76. ;;; Local Variables: ***
  77. ;;; mode: C++ ***
  78. ;;; End: ***
  79. */
  80.